Quote Originally Posted by jimblumberg View Post
Do you realize that you're copying that vector every time you call find_gcd()?

You may want to consider passing by reference/const reference instead.
I'm sorry I'm a newbie at this so I don't know what you meant by copying that vector every time.. can you please elaborate? Also what is passing by reference and how do I do it?
Thanks jim